import request from '@/utils/request'

export function monthnotes() {
  return request({
    url: '/daynotes/month/',
    method: 'get'
  })
}

export function create(data) {
  return request({
    url: '/daynotes/create/',
    method: 'post',
    data
  })
}

export function del(id) {
  return request({
    url: '/daynotes/' + id + '/',
    method: 'delete'
  })
}
